package com.ys.service.account;

import com.ys.vo.R;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 预支账户管理明细
 */
public interface TcwAdvanceAccountDetailService {

	//新增
	R add(Map<String, Object> params, Long menuId) throws Exception ;


	//修改
	R update(Map<String, Object> params, Long menuId) throws Exception ;

	//删除
	void delTrue(Long id) throws Exception ;

	//划拨，生成流水
	R doTransferFlow(Long id) throws Exception ;


	//复制
	R doCopy(Long id) throws Exception ;

	//删除
	R doDel(Long id) throws Exception ;


	//设置成本价
	R setUnitPrice(Long id, BigDecimal unitPrice) throws Exception ;


	//设置代理价
	R setProxyPrice(Long id, BigDecimal proxyPrice) throws Exception ;


	//批量修改预支类型
	R setAdvanceType(Long id, String advanceTypeCode) throws Exception ;
}